﻿@model IEnumerable<BE.Configuracion.ModuloBE>
@{this.Layout = null;}

<table class='CSSTableGenerator'>
    <tr>
        <th>
            ID
        </th>
        <th>
            Modulo
        </th>
        <th>
            Descripción
        </th>
        <th>
            Activo
        </th>
        <th with='100%'> - TASK - </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.iModuleId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sModuleName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sDescription)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.bActive)
        </td>
        <td with='100%'>
        <a href="#" onclick=SAINjs.ShowModuleEdit('#dialog-modal',@item.iModuleId);>Editar</a> 
        <a href="#" onclick=SAINjs.ListModuleFunctions('#centerContent',@item.iModuleId);>Funciones</a>
        </td>
    </tr>
}

</table>
